package guoanmaker.provider.business.modelnobind;

import java.util.Date;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@NoArgsConstructor
public class PersonalCollectionUser {

	private String serid;
	private String collectionid;//收藏iD
	private String commodityid;//商品主键
	private String commodityName; //商品名称
	private String businessName;//商户名称
	private String synopsis;//商品简介
	private Double finalPrice;//最终价格
	private String companyCity;//商家注册地
	private String commodity_smallimage;//商品小图
	private String type;//商品所属大类
	private Integer salesVolume;//商品销售量
	private String code;//商品销售量
	
	//PersonalCollectionService------------->selectPersonalCollectionPagePCType
	public PersonalCollectionUser(String serid,String commodityid,String collectionid, String commodityName, String businessName, 
			Double finalPrice, String companyCity,String code,String synopsis,
			String commodity_smallimage, Integer salesVolume,String type) {
		super();
		this.collectionid = collectionid;
		this.serid = serid;
		this.commodityid = commodityid;
		this.commodityName = commodityName;
		this.businessName = businessName;
		this.synopsis = synopsis;
		this.finalPrice = finalPrice;
		this.companyCity = companyCity;
		this.code = code;
		this.commodity_smallimage = commodity_smallimage;
		this.salesVolume = salesVolume;
		this.type = type;
	}
	
	public PersonalCollectionUser(String collectionid,String commodityid, String commodityName,  
			String commodity_smallimage,String synopsis,String type,Double finalPrice,String code,
			String companyCity,Integer salesVolume) {
		super();
		this.salesVolume = salesVolume;
		this.collectionid = collectionid;
		this.commodityid = commodityid;
		this.commodityName = commodityName;
		this.synopsis = synopsis;
		this.finalPrice = finalPrice;
		this.code = code;
		this.commodity_smallimage = commodity_smallimage;
		this.companyCity = companyCity;
		this.type = type;
	}
	public PersonalCollectionUser(String serid,String collectionid,String commodityid, String commodityName,  
			String commodity_smallimage,String synopsis,String type,Double finalPrice,String code,
			String companyCity) {
		super();
		this.serid = serid;
		this.collectionid = collectionid;
		this.commodityid = commodityid;
		this.commodityName = commodityName;
		this.synopsis = synopsis;
		this.finalPrice = finalPrice;
		this.code = code;
		this.commodity_smallimage = commodity_smallimage;
		this.companyCity = companyCity;
		this.type = type;
	}
	//PersonalCollectionService------------->selectPersonalCollectionPage
		public PersonalCollectionUser(String commodityid,String collectionid, String commodityName, String businessName, 
				Double finalPrice, String companyCity,String synopsis,
				String commodity_smallimage, Integer salesVolume,String type) {
			super();
			this.collectionid = collectionid;
			this.commodityid = commodityid;
			this.commodityName = commodityName;
			this.businessName = businessName;
			this.synopsis = synopsis;
			this.finalPrice = finalPrice;
			this.companyCity = companyCity;
			this.commodity_smallimage = commodity_smallimage;
			this.salesVolume = salesVolume;
			this.type = type;
		}
	
	
}
